package cn.tedu.cinema.employee.service;

import cn.tedu.cinema.employee.pojo.dto.EmployeeLoginParam;
import cn.tedu.cinema.employee.pojo.dto.EmployeeQuery;
import cn.tedu.cinema.employee.pojo.dto.EmployeeSaveParam;
import cn.tedu.cinema.employee.pojo.vo.EmployeeVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EmployeeService {
    EmployeeVO login(EmployeeLoginParam employeeLoginParam);

    void saveEmployee(EmployeeSaveParam employeeSaveParam);

    PageInfo<EmployeeVO> selectEmployee(int pageNum, int pageSize, EmployeeQuery employeeQuery);

    void resetPassword(Long employeeId);

    void updateStatus(Long employeeId, String status);

    void deleteEmployee(Long employeeId);


    EmployeeVO selectById(Long id);
}
